/* Heisai Style UI */
@import "assets/styles/element-ui.scss";
@import "assets/styles/mixin.scss";
@import "assets/styles/jupiter-theme.scss";

::-webkit-scrollbar {
  display: none;
}

.app-wrapper {
  color: #1d2a35;
  font-size: 16px;

  @include clearfix;
  position: relative;
  height: 100%;
  width: 100%;
  &.hideSidebar {
    .hs-side-menu {
      width: 64px;
      overflow: inherit;
    }
    .main-container {
      padding-left: 64px;
    }
    .hs-nav-bar {
      .nav-container {
        i {
          transform: rotate(90deg);
        }
      }
    }
  }

  .main-container {
    transition: margin-left 0.25s ease-out;
    padding-left: 210px;
    padding-top: 61px;
    background: #f0eef0;
    width: 100%;
    height: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow-y: scroll;
  }
}

.hs-nav-bar {
  position: fixed;
  top:0;
  left: 0;
  right: 0;
  z-index: 2001;
  display: flex;
  line-height: 60px;
  height: 60px;
  text-align: center;
  background: #e0e3e6;
  box-shadow: 0 1px 4px 0 #aeb6bf;
  padding: 0 1.25rem;
  justify-content: space-between;
  .hs-nav-title {
    padding: 0 1rem;
    font-weight: bold;
    img {
      width: 32px;
      height: 32px;
      margin: 14px .5rem 14px 0;
      float: left;
    }
  }
}

.hs-nav-container {
  display: flex;
  line-height: 60px;
  overflow: hidden;
  i, span {
    line-height: 60px;
  }
}

@media screen and (max-width: 720px) {

  .body {
    font-size: 12px;
  }
  .hs-side-menu {
    width: 64px;
    overflow: inherit;
    box-shadow: 0 0 0.2rem 0.4rem rgba(10, 0, 10, 0.3);
  }
  .app-wrapper{
    .main-container {
      padding-left: 0;
      overflow: hidden;
    }
    &.hideSidebar {
      .hs-side-menu {
        width: 0;
        box-shadow: none;
      }
      .main-container {
        padding-left: 0;
      }
    }
  }
  .hs-nav-bar {
    padding: 0 .5rem;
    .el-tooltip  {
      margin-left: 5px;
    }
  }
}

.hs-side-menu {
  transition: width 0.28s ease-out;
  background: white;
  width: 210px;
  height: 100%;
  position: fixed;
  top: 60px;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  &::-webkit-scrollbar {
    display: none
  }
  &.el-menu--collapse {
    width: 64px;
  }
  .el-menu {
    border: none;
  }
  z-index: 1999;
}

.hs-content {
  //overflow-y: scroll;
  padding: 20px;
  text-align: left;
}

.hs-panel {
  /*　区内　面板*/
  padding: 1.5%;
  display: block;
  opacity: 1;
}

.hs-filter-container {
  min-height: 40px;
  margin: .5rem 0;
}

/**　区内面板框*/
.hs-bg-card {
  color: #1d2a35;
  background: white;
  border: 1px solid #E6E9ED;
  border-radius: 4px;
  box-shadow: 0.2rem .2rem 0.5rem  rgba(10,0,10,.1);
}



.hs-panel-title {
  border-bottom: 2px solid #E6E9ED;
  padding: 1px 5px 6px;
  margin-bottom: 15px;
}

.hs-panel-title-sub {
  margin-left: 10px;
  margin-Top: 10px;
  font-size: 14px;
  color: #1F2D3D;
}

.hs-blank {
  height: 30px;
  width: auto;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity .5s
}

.fade-enter,
.fade-leave-active {
  opacity: 0
}

.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
